package com.ys.erp.stage_user_service.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author lwj
 * @date 2023/12/21
 */
@Data
@Accessors(chain = true)
@Schema(description = "客诉返回对象")
public class ComplaintVO {

    private Long id;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "猫咪编号")
    private String catCode;

    @Schema(description = "客诉日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDateTime complaintDate;

    @Schema(description = "0主动回访1被动咨询")
    private Integer seekType;

    @Schema(description = "0猫咪健康问题，1商城问题，2门店问题，3其他问题")
    private Integer problemType;

    @Schema(description = "0健康，1耳科疾病，2皮肤科疾病，3呼吸道疾病，4消化肠胃泌尿生殖疾病，5其它")
    private List<String> diseaseType;

    @Schema(description = "疾病")
    private String diseaseInfo;

    @Schema(description = "问题内容")
    private String problemContent;

    @Schema(description = "处理描述")
    private String disDes;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "处理结果")
    private String disposeResult;

    @Schema(description = "处理进程，0未处理，1已回复待跟踪，2完毕")
    private Integer disposeStatus;

    @Schema(description = "附件")
    private List<String> annexFile;

    @Schema(description = "店铺名字")
    private String shopName;

    @Schema(description = "领走时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime takeDate;

    @Schema(description = "领走天数")
    private Integer adoptDay;
}
